<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>登分</title>
</head>
<body>

<div th:include="main :: head"></div>

    <table border="1">

        <tr>
            <td>id</td>
            <td>班级编号</td>
            <td>学号</td>
            <td>学生姓名</td>
            <td>课程编号</td>
            <td>课程名称</td>
            <td>分数</td>
            <td>操作</td>
        </tr>
        <tr th:each="x:${marks}">
            <form action="/tea/addMark" method="post">

                <td><input name="id" th:value="${x.id}" readonly></td>

                <td><input name="clzno" th:value="${myClz.clzno}" readonly></td>

                <td><input name="stu.phone" th:value="${x.stu.phone}" readonly></td>

                <td th:text="${x.stu.uname}"><input></td>

                <td><input name="course.cno" th:value="${myCourse.cno}" readonly> </td>

                <td th:text="${myCourse.cname}" readonly></td>

                <td><input type="text" name="score" th:value="${x.score}"></td>

                <td><input type="submit" value="保存"></td>

            </form>
        </tr>
    </table>


</body>
</html>